package com.laker.admin.common;

import lombok.Data;

@Data
public class Field {
    public Field(String name, Object value) {
        this.name = name;
        this.value = value;
        this.queryMethod = QueryMethod.eq;
    }

    public Field(String name, Object value, QueryMethod queryMethod) {
        this.name = name;
        this.value = value;
        this.queryMethod = queryMethod;
    }

    public Field() {
    }

    private String name;
    private Object value;
    private QueryMethod queryMethod;
}